package webjoch.wrappers;

/**
 * A link connect a door to the adjacent rooms
 * @author Webjoch
 *
 */
public class Link {
	private Room room, linkedRoom;
	private Door.Rotation rotation;
	
	public Link(Room room, Door.Rotation rotation, Room linkenRoom){
		this.room = room;
		this.rotation = rotation;
		this.linkedRoom = linkenRoom;
	}
	
	public Room getRoom(){
		return room;
	}
	
	public Door.Rotation getRotation(){
		return rotation;
	}
	
	public Room getLinkedRoom(){
		return linkedRoom;
	}
}
